import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";
import './utils/rem.js'
import 'lib-flexible/flexible.js'
import Vant from 'vant';
import 'vant/lib/index.css';
import './style/index.scss'

Vue.use(Vant);
// 引入vue-amap
import VueAMap from 'vue-amap'

Vue.use(VueAMap)

VueAMap.initAMapApiLoader({
  key: 'be39f4d36d4f1db60a600c92d1258e4e',
  plugin: ['AMap.Autocomplete', 'AMap.PlaceSearch', 'AMap.Scale', 'AMap.OverView', 'AMap.ToolBar', 'AMap.MapType', 'AMap.PolyEditor', 'AMap.CircleEditor', 'AMap.Geocoder', 'AMap.AMapManager', 'AMap.MouseTool', 'AMap.DistrictSearch','AMap.CitySearch','AMap.Geolocation'],
  uiVersion: '1.0.11', // 版本号
  v: '1.4.14'
})

Vue.config.productionTip = false;

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount("#app");
